import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import './App.less';

import Login from './pages/views/auth/Login';
import Register from './pages/views/auth/Register';
import ChatContainer from './pages/views/chat/ChatContainer';





class App extends React.Component {
  render() {
    return (
      <HashRouter>
        <Switch>
          <Route exact path="/" component={ChatContainer} />
          <Route exact path="/login" component={Login} />
          <Route exact path="/register" component={Register} />
        </Switch>
      </HashRouter>
    )}
             
}


export default App;
